package com.itheima.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.entity.Category;

import java.util.List;

public interface CategoryService {


    List<Category> findAll(Integer type);

    Page<Category> page(Integer page, Integer pageSize);

    int save(Category category);

    int deleteById(Long id);

    int update(Category category);
}
